package com.weitu.worklicense.service;

import com.weitu.worklicense.entity.ElectricityLicense;

import java.util.List;
import java.util.Map;

/**
 * Created by smp on 2017/6/9.
 */
public interface ElectricityLicenseService {

    int queryCount(Map<String,Object> map);

    List<ElectricityLicense> queryList(Map<String,Object> map);

    boolean insertElectricityLicense(ElectricityLicense electricityLicense);

    ElectricityLicense queryById(String id);

    boolean updateElectricityLicense(ElectricityLicense electricityLicense);

    int deleteElectricity(String id);
    int execute(String id);
}
